<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <?php echo $this->docType(); ?>
    <head>
        <?php echo $this->headTitle(); ?>
        <?php echo $this->headMeta(); ?>
        <?php echo $this->headLink(); ?>
    </head>

    <body>

        <div class="pagetop">
            <div class="head pagesize"> <!-- *** head layout *** -->
                <div class="head_top">
                    <div class="topbuts">
                        <ul class="clear">
                            <li><a href="<?php echo $this->baseUrl(); ?>">View Site</a></li>
                            <li><a href="#">Messages</a></li>
                            <li><a href="#">Settings</a></li>
                            <li>
                                <?php 
                                    $urlLogout = $this->url(array('module'=>'default','controller'=>'login','action'=>'logout'));
                                ?>
                                <a href="<?php echo $urlLogout;?>" class="red">Logout</a>
                            </li>
                        </ul>

                        <div class="user clear">
                            <img src="public/images/avatar.jpg" class="avatar" alt="" />
                            <span class="user-detail">
                                <?php 
                                    $user = new Zendvn_System_Info;
                                    $userInfo = $user->getMemberInfo();
                                    $groupInfo = $user->getGroupInfo();
                                ?>
                                <span class="name">Welcome <?php echo $userInfo['username'];?></span>
                                <span class="text">Logged as <?php echo $groupInfo['name'];?></span>
                                <span class="text">You have <a href="#">5 messages</a></span>
                            </span>
                        </div>
                    </div>

                    <div class="logo clear">
                        <a href="index.html" title="View dashboard">
                            <img src="public/images/logo_earth.png" alt="" class="picture" />
                            <span class="textlogo">
                                <span class="title">TERMINATOR</span>
                                <span class="text">admin template</span>
                            </span>
                        </a>
                    </div>
                </div>

                <div class="menu">
                    <ul class="clear">
                        <li class="active"><a href="<?php echo APPLICATION_URL . '/admin/'; ?>">Dashboard</a></li>
                        <li>
                            <a href="styles.html">Test</a>
                            <ul>
                                <li><a href="boxes.html">Content Boxes</a></li>
                                <li><a href="columns.html">Columns</a>
                                    <ul>
                                        <li><a href="columns1.html">Boxes in Columns</a></li>
                                        <li><a href="columns2.html">Columns in Boxes</a></li>
                                    </ul>
                                </li>
                                <li><a href="forms.html">Forms</a></li>
                            </ul>				
                        </li>
                    </ul>
                </div>
            </div>
        </div>